package com.poly.flowable.pojo.model;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class NodeUserModel implements Serializable {

    @JsonSerialize(using= ToStringSerializer.class)
    private Long userId;
    private String username;
    private String name;
    private String avatar;

    /**
     * 0	未提交
     * 1	审批中
     * 2	已撤销
     * 3	已驳回
     * 6	已通过
     */
    private Integer adopt=0;

    /**
     * 审批时间
     */
    private Date approvalTime;

    private String commentId;

    private String comment;

    /**
     * 流程处理人通配符
     */
    private String assigneeKey;

    /**
     * 自定义表单
     */
    private String form;

    /**
     * 分数
     */
    private Double score;
}
